package com.factory_strategy_template;



public class Main {
    public static void main(String[] args) {
        String name = "张三";
        zhangsanHandler zhangsanHandler = new zhangsanHandler();
        Handler handler = HandlerFactory.getInvokeStrategy("张三");
        handler.printName();
    }
}
